class sensor_nearest_node(object):
	"""This sensor returns the location of the nearest node to an agent."""
	def __init__(self,agent_num,world_model):
		self.agent_num=agent_num
		self.world_model=world_model
	def sense(self):
		return self.world_model.nearest_node(self.agent_num)